import { CreateWifiDevice } from "~/lib/server";
import type { Route } from "../+types/wifi";

export async function clientAction({ request }: Route.ActionArgs) {

    const formData = await request.formData();
    const data = Object.fromEntries(formData);
    const response = await CreateWifiDevice(data);

    return response;

}